package com.naiterui.ehp.bp.bo.serve;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author erchou
 * @date 2018/11/19 14:27
 * @since 1.0.0
 */
@ApiModel(value = "MsgParamBO", description = "发送消息参数BO")
public class MsgParamBO implements Serializable {
    private static final long serialVersionUID = 4684051584583357933L;

    /**
     * push消息
     */
    public static final int MSG_TYPE_PUSH = 1;
    /**
     * notice消息
     */
    public static final int MSG_TYPE_NOTICE = 2;
    /**
     * content消息
     */
    public static final int MSG_TYPE_CONTENT = 3;

    @ApiModelProperty(value = "消息类型 1:push消息 2：应用内通知 3：账户动态")
    private Integer templateType;

    @ApiModelProperty(value = "消息参数")
    private String[] messageParamList;

    @ApiModelProperty(value = "消息链接参数")
    private String linkParam;

    @ApiModelProperty(value = "跳转链接参数")
    private String jumpParam;

    public Integer getTemplateType() {
        return templateType;
    }

    public void setTemplateType(Integer templateType) {
        this.templateType = templateType;
    }

    public String[] getMessageParamList() {
        return messageParamList;
    }

    public void setMessageParamList(String[] messageParamList) {
        this.messageParamList = messageParamList;
    }

    public String getLinkParam() {
        return linkParam;
    }

    public void setLinkParam(String linkParam) {
        this.linkParam = linkParam;
    }

    public String getJumpParam() {
        return jumpParam;
    }

    public void setJumpParam(String jumpParam) {
        this.jumpParam = jumpParam;
    }


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
